package com.qcxk.yuqian.system.service;

import com.qcxk.yuqian.system.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @auther lp
 * @create 2021-05-24 18:35:50
 * @describe 部门表服务类
 */
public interface IDeptService extends IService<Dept> {

    Page queryDeptPage(Page page, Dept dept);

    boolean deleteDeptById(Dept dept);

    List<Dept> getChildList(String id, String isContainUser);

    List<Dept> getParentList(String id, String isContainUser);
}
